package com.example.demo.advice;

/**
 * @Description: 接口错误码常量
 * @Author: yf.ge
 * @Date: 2020/9/9 19:52
 */
public interface ErrorConstant {

    /**
     * 系统异常码
     */
    int ERROR_FOR_SYSTEM = -1;

    /**
     * 业务错误码
     */
    int ERROR_FOR_BUSINESS = -2;

    /**
     * 接口参数错误码
     */
    int ERROR_FOR_PARAMS = -3;

    /**
     *  登录 错误码
     */
    int ERROR_FOR_LOGIN= -4;



    /**
     *  404
     */
    int ERROR_NOT_FOUND = 404;
}
